package com.qilu.careprogram.dao;

import com.qilu.careprogram.pojo.dto.UserDTO;
import com.qilu.careprogram.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @CreateTime: 2025-04-23  21:18
 * @Version: 1.0
 */
@Mapper
public interface UserDAO {
    User findByUserName(String username);
    int insertUser(User user);
    Boolean checkAuthorityExists(String authority);
    List<User> getAllDoctorInfo(@Param("department") String department);
    int resetUser(@Param("yusernam") String yusernam, @Param("user") User user);
    int deletUser(String username);
}
